package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 业务系统菜单Entity
 *
 * @author generator
 * @date 2020-03-18 15:10
 */
@MyTable(value = "BusinessSystemMenuEntity", name = "business_system_menu", comment = "业务系统菜单")
public class BusinessSystemMenuEntity extends BaseEntity {
    /**
     * 业务系统主键
     */
    @MyColumn(value = "businessSystemId", name = "business_system_id", comment = "业务系统主键", required = true)
    private Integer businessSystemId;

    /**
     * 父业务菜单外键
     */
    @MyColumn(value = "parentId", name = "parent_id", comment = "父业务菜单外键", required = true)
    private Integer parentId;

    /**
     * 菜单名称
     */
    @MyColumn(value = "menuName", name = "menu_name", comment = "菜单名称", required = true)
    private String menuName;

    /**
     * 菜单路由
     */
    @MyColumn(value = "menuRoute", name = "menu_route", comment = "菜单路由", required = true)
    private String menuRoute;

    /**
     * 菜单重定向路由
     */
    @MyColumn(value = "menuRedirectRoute", name = "menu_redirect_route", comment = "菜单重定向路由")
    private String menuRedirectRoute;

    /**
     * 菜单图标，element-ui中样式名称
     */
    @MyColumn(value = "menuIcon", name = "menu_icon", comment = "菜单图标，element-ui中样式名称", required = true)
    private String menuIcon;

    /**
     * 禁用状态
     */
    @MyColumn(value = "disableState", name = "disable_state", comment = "禁用状态", required = true)
    private Integer disableState;

    /**
     * 排序
     */
    @MyColumn(value = "sort", name = "sort", comment = "排序", required = true)
    private Integer sort;

    /**
     * 备注
     */
    @MyColumn(value = "remark", name = "remark", comment = "备注")
    private String remark;


    public Integer getBusinessSystemId() {
        return businessSystemId;
    }

    public BusinessSystemMenuEntity setBusinessSystemId(Integer businessSystemId) {
        this.businessSystemId = businessSystemId;
        return this;
    }

    public Integer getParentId() {
        return parentId;
    }

    public BusinessSystemMenuEntity setParentId(Integer parentId) {
        this.parentId = parentId;
        return this;
    }

    public String getMenuName() {
        return menuName;
    }

    public BusinessSystemMenuEntity setMenuName(String menuName) {
        this.menuName = menuName;
        return this;
    }

    public String getMenuRoute() {
        return menuRoute;
    }

    public BusinessSystemMenuEntity setMenuRoute(String menuRoute) {
        this.menuRoute = menuRoute;
        return this;
    }

    public String getMenuRedirectRoute() {
        return menuRedirectRoute;
    }

    public BusinessSystemMenuEntity setMenuRedirectRoute(String menuRedirectRoute) {
        this.menuRedirectRoute = menuRedirectRoute;
        return this;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public BusinessSystemMenuEntity setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public BusinessSystemMenuEntity setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public BusinessSystemMenuEntity setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public BusinessSystemMenuEntity setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}